package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 出库管理对象 ds_outboundmanagement
 * 
 * @author ruoyi
 * @date 2024-05-31
 */
public class DsOutboundmanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出库记录ID，唯一标识符 */
    private Long outboundId;

    /** 车辆ID，关联到车辆信息表 */
    @Excel(name = "车辆ID，关联到车辆信息表")
    private Long vehicleId;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outboundDateTime;

    /** 出库操作员 */
    @Excel(name = "出库操作员")
    private String outboundBy;

    public void setOutboundId(Long outboundId) 
    {
        this.outboundId = outboundId;
    }

    public Long getOutboundId() 
    {
        return outboundId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setOutboundDateTime(Date outboundDateTime) 
    {
        this.outboundDateTime = outboundDateTime;
    }

    public Date getOutboundDateTime() 
    {
        return outboundDateTime;
    }
    public void setOutboundBy(String outboundBy) 
    {
        this.outboundBy = outboundBy;
    }

    public String getOutboundBy() 
    {
        return outboundBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("outboundId", getOutboundId())
            .append("vehicleId", getVehicleId())
            .append("outboundDateTime", getOutboundDateTime())
            .append("outboundBy", getOutboundBy())
            .toString();
    }
}
